package com.wectrls.mapper;

import com.wectrls.entity.Sources;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface SourcesMapper extends JpaRepository<Sources, String>, JpaSpecificationExecutor<Sources> {

    List<Sources> findByCategoryId(String cId, Sort sort);
}
